package com.dwxt.cdms.dao;

import com.dwxt.cdms.entity.AdminHistory;
import com.dwxt.cdms.entity.AdminHistoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminHistoryMapper {
    long countByExample(AdminHistoryExample example);

    int deleteByExample(AdminHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AdminHistory record);

    int insertSelective(AdminHistory record);

    List<AdminHistory> selectByExample(AdminHistoryExample example);

    AdminHistory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AdminHistory record, @Param("example") AdminHistoryExample example);

    int updateByExample(@Param("record") AdminHistory record, @Param("example") AdminHistoryExample example);

    int updateByPrimaryKeySelective(AdminHistory record);

    int updateByPrimaryKey(AdminHistory record);
}